<UserControl x:Class="BookDemoApp.UCXaml"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:BookDemoApp" Background="LightGray"
    Loaded="OnLoaded">
  <DockPanel>
    <local:UCTitle DockPanel.Dock="Top" DataContext="Xaml" />
    <Border Padding="5">
      <DockPanel>
        <DockPanel DockPanel.Dock="Bottom" Height="120">
          <Button Click="DeserializeClick" DockPanel.Dock="Right">Deserialize</Button>
          <TextBox x:Name="tbXaml" TextWrapping="Wrap" Margin="0 0 5 0" />
        </DockPanel>
        <Border x:Name="host" Margin="5" />
      </DockPanel>
    </Border>
  </DockPanel>
</UserControl>
